<!doctype html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
    <link rel="stylesheet" href="../../../src/css/common/reset.css">
    <script src="../src/lib/jquery.js"></script>
    <script src="jquery.lazyload.min.js"></script>
</head>
<body>

    <div><img src="../src/img/timg.gif" data-original="https://cdn.shopify.com/s/files/1/0067/6803/3849/files/logo_31_300x300.png?v=1531221164" alt=""></div>

</body>
<script>
    $(function(){
        $("img").lazyload({
            placeholder : "img/grey.gif",
            effect : "fadeIn"  //设置图片的加载效果为淡入
        });
    });
</script>
</html>